Skip to content

chore: pin GitHub Actions to commit SHAs#357

Open
nunomaduro wants to merge 1 commit into
3.xfrom
chore/pin-actions-to-sha-3.x
Open

chore: pin GitHub Actions to commit SHAs#357
nunomaduro wants to merge 1 commit into
3.xfrom
chore/pin-actions-to-sha-3.x

Conversation

@nunomaduro
Copy link
Copy Markdown
Member

Pins every uses: reference in this repo's GitHub Actions workflows to a
commit SHA, preserving the original tag as an inline comment so Dependabot can
keep bumping it.

Rewrites:

  • actions/checkout@v4actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 (in .github/workflows/link_check.yml)
  • lycheeverse/lychee-action@v1.10.0lycheeverse/lychee-action@2b973e86fc7b1f6b36a93795fe2c9c6ae1118621 (in .github/workflows/link_check.yml)

This mitigates supply-chain risk from compromised action tag/branch refs and
makes future Dependabot PRs update the SHA in place (rather than only bumping
tags).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant